<template>
  <div class="mine">
    <div class="loggedIn">
      <div class="photo">
        <img src="../../assets/logo.png">
      </div>
      <h3>用户名</h3>
      <button>退出登录</button>
      <button>点击登录</button>
    </div>
    <div class="integral">
      <p>
        积分：
        <span>2160</span>
      </p>
      <button>积分商城</button>
    </div>
    <van-divider
      content-position="left"
      :style="{ color: 'black', borderColor: 'grey' }"
    >
      进行中的订单
    </van-divider>
  </div>
</template>

<script>
export default {
  name: 'Mine',
}
</script>

<style lang="less" scoped>
  .mine{
    width: 100%;
    display: flex;
    flex-direction: column;
    .loggedIn{
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      padding-bottom: 20px;
      border-bottom: 1px solid #e5e5e5;
      .photo{
      width: 200px;
      height: 200px;
      border-radius: 50%;
      overflow: hidden;
      margin-top: 50px;
        img{
          width: 100%;
          height: 100%;
        }
      }
    }
    .integral{
      margin-top: 10px;
      width: 100%;
      display: flex;
      justify-content: space-between;
      line-height: 0;
      align-items: center;
      padding-bottom: 10px;
      border-bottom: 1px solid #e5e5e5;
      p{
        margin-left: 10px;
      }
      button{
        margin-right: 10px;
        border: 0;
        padding: 0;
        background-color: orange;
        font-size: 16px;
        height: 40px;
        padding: 0 10px;
        border-radius: 40px;
      }
    }
  }
</style>
